package cn.dxh.stagefinal.dao;

import cn.dxh.stagefinal.bean.Provider;

import java.util.List;
import java.util.Map;

/**
 * IntelliJ IDEA -> stagefinal
 * 2019/12/11 14:54
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public interface ProviderDao {
   List<Provider> findProviders(Map map);
   int insertProvider(Provider provider);
   Provider findProviderByPid(Integer pId);
   int updateProvider(Provider provider);
   int deleteProvider(Map map);
   int deleteProviderByPids(int[] pIds);
   List<Provider> findProvidersByPid(int[ ] pIds);
}
